Don't have previous and next buffers deal with internal windows.
authormartin rudalics <rudalics@gmx.at>
Thu, 8 Sep 2011 15:45:20 +0000 (17:45 +0200)
committermartin rudalics <rudalics@gmx.at>
Thu, 8 Sep 2011 15:45:20 +0000 (17:45 +0200)
commit9866b0fc6722da1f052d1ac3ea065bc01f61bb27
tree98936938a83ecbdcf55d7c50cd41851172646a80
parentb12ea0be4130b3266dec5f9d52871b78b650ff11
Don't have previous and next buffers deal with internal windows.

* window.c (Fset_window_prev_buffers, Fset_window_next_buffers):
Operate on live windows only.

* window.el (window-deletable-p): Make sure window is live before
invoking window-prev-buffers.
lisp/ChangeLog
lisp/window.el
src/ChangeLog
src/window.c